<div class="gift_detail mb" id="good_comment">
    <table style="width: 100%;" class="show-rate-table">
        <thead>
            <tr>
                <th style="width: 70%;" class="comment">
                    评论
                </th>
                <th style="width: 15%;" class="ratee">
                    买家
                </th>
                <th style="width: 15%;" class="ratee">
                    评价
                </th>
            </tr>
        </thead>
        <tbody>
            <volist name="commentlist" id="vo">
                <tr>
                    <td>
                        <p class="rate">
                            {$vo.detail}
                        </p>
                        <span class="date">[{$vo.created|date="Y-m-d H:i:s",###}]</span>
                    </td>
                    <td>
                        {$vo.membername|substr=0,3}**
                    </td>
                    <td>
                        {$setting['comment_type'][$vo['level']]}
                    </td>
                </tr>
            </volist>
            <empty name="commentlist">
                <tr>
                    <td colspan="3">
                        暂无评论
                    </td>
                </tr>
            </empty>
        </tbody>
        <tfoot>
            <tr>
                <td colspan="3">
                    <div class="page_samll">
                        显示1-10条 <a href="#nogo" url="{:U('Good/comment?good_id='.$_GET['good_id'].'&p=1')}" rel="good_comment" onclick="ajaxpage(this)">首页</a>
                        <notempty name="page.pagepre">
                            <a href="#nogo" url="{:U('Good/comment?good_id='.$_GET['good_id'].'&p='.$page['pagepre'])}" rel="good_comment" onclick="ajaxpage(this)">上一页</a>
                        </notempty>
                        <notempty name="page.pagenext">
                            <a href="#nogo" url="{:U('Good/comment?good_id='.$_GET['good_id'].'&p='.$page['pagenext'])}" rel="good_comment" onclick="ajaxpage(this)">下一页</a>
                        </notempty>
                        <a href="#nogo" url="{:U('Good/comment?good_id='.$_GET['good_id'].'&p='.$page['pagenum'])}" rel="good_comment" onclick="ajaxpage(this)">末页</a>
                    </div>
                </td>
            </tr>
        </tfoot>
    </table>
</div>
